﻿namespace BaseSyntax.TypeTest
{
	public class TypeCompare
	{
		// typeof+GetType
		public bool TypeOfTest()
		{
			int i = 2;
			return i.GetType() == typeof(int);
		}
	}
}